package ltd.dujiabao.eduservice.service;

import ltd.dujiabao.eduservice.entity.EduSubject;
import com.baomidou.mybatisplus.extension.service.IService;
import ltd.dujiabao.eduservice.entity.subject.PrimarySubject;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author dujiabao
 * @since 2021-04-21
 */
public interface EduSubjectService extends IService<EduSubject> {
  boolean saveBatchByExcel(MultipartFile file);

  List<PrimarySubject> getSubjectsTree();
}
